package com.villaday.idf.adapter2;

import android.content.Context;
import android.view.View;

import com.villaday.idf.R;
import com.villaday.idf.base.AbsRecyclerViewAdapter;
import com.villaday.idf.model2.Global_configurations;
import com.villaday.idf.model2.ShippingAddressesEntity;

/**
 * Created by tudou on 2018/10/8.
 */

public class PopuShouYiChaKanAdapter extends AbsRecyclerViewAdapter<Global_configurations.BodyEntity.IncomeDescriptionsEntity> {

    public PopuShouYiChaKanAdapter(Context context) {
        super(context, R.layout.item_popu_vip_chakanshouyi2);
    }

    @Override
    public void onBindHolder(AbsRecyclerViewAdapter.RecyclerViewHolder holder, Global_configurations.BodyEntity.IncomeDescriptionsEntity d, int position) {
        holder.bindTextView(R.id.tv_title, d.getName())
                .bindTextView(R.id.tv_content, d.getContent());


    }
}
